package xyz.molzhao.alink.enums;

import lombok.Getter;

/**
 * 存储客户端枚举
 */
@Getter
public enum StorageClientEnum {
    ALI_YUN_OSS("1", "aliyunoss"),
    ;
    private String code;

    private String description;

    StorageClientEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public static boolean isAliyunOssClient(String code) {
        return ALI_YUN_OSS.code.equalsIgnoreCase(code);
    }
}
